
<!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhmtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset="uft-8"/>
<title>节目时钟</title>
</head>
<body>
<canvas id="myCanvas" width="800" height="800" sytle="border:#ffffff solid 1px"> program clock </canvas>
<script type="text/javascript">

var c=document.getElementById("myCanvas");
var cxt = c.getContext("2d");


cxt.beginPath();
cxt.moveTo(10,10);
cxt.strokeStyle="#fff000";
cxt.lineTo(150,50);
cxt.stroke();
cxt.closePath();

cxt.beginPath();
cxt.strokeStyle="#000000";
cxt.moveTo(150,50);
cxt.lineTo(10,50);
cxt.stroke();
cxt.closePath();

//cxt.strokeStyle="#000fff";
//cxt.lineTo(300,300);
//cxt.stroke();
       
</script>
</body>
</html>
